package io.github.hayeka.a1_threadlocalandmultidatasource.前置知识.A2;

//==================================
//      @Author hayeka
//      @Email hayeka@2980.com
//      @Date 2021/6/16 13:47:08
//==================================

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class T_Thread {

    //先拿Logger对象
    private static final Logger logger = LoggerFactory.getLogger(T_Thread.class);

    public static void main(String[] args) {


        new Thread(new Runnable() {
            @Override
            public void run() {
                logger.info("我是你儿子");
            }
        },"臭屌丝").start();


        logger.info("我是谁啊");

    }
}
